﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Templay;

namespace Sample1.Tags
{
    public class Consolus : Tag
    {

        public string Text { get; set; }
        public bool DisplayOh { get; set; }

        public override void Process(params object[] parameters)
        {
            if (DisplayOh)
                Console.WriteLine("Oh !");

           Console.WriteLine(Text);
        }

        public override void InitProcess()
        {
            base.InitProcess();
        }

    }
}
